package com.example.mybatisfinaltask.service;

import com.example.mybatisfinaltask.pojo.Dept;

import java.util.List;


public interface DeptService {
    List<Dept>selectAll();

    void deleteById(Integer id);

    void add(Dept name);

    Dept getById(Integer id);

    Dept modify(Dept dept);
}
